package com.yssoft.mapper.sales;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.yssoft.entity.sales.TCustomer;
import com.yssoft.entity.sales.TCustomerAtt;

public interface TDealerMapper {

	public List<Map<String, Object>> selectCustomerList(Map<String, Object> param) ;
	
	public List<Map<String, Object>> selectCustomArea(@Param("obj") Map<String, Object> param_area, @Param("list") List<Map<String, Object>> dealerList);

	public void deleteDealers(@Param("ids") String[] idArry,@Param("obj") TCustomer obj);

	public int hasBills(@Param("ids") String[] idArry);

	public Map<String, Object> findDetail(Integer id);

	public List<Map<String, Object>> findAttrs(Map<String, Object> param);

	public void updateCustomAttByCustomId(TCustomerAtt attr);

	public void deleteArreasByCId(Integer id);

	public void insertArreas(@Param("list")List json2List, @Param("tCId") Integer id);
 

	/*public List<TCustomerAtt> selectCustomerAttList(@Param("list") List<Map<String, Object>> dealerList, @Param("flag")  String flag);*/
	

}
